"use client";

import {useParams} from "next/navigation"
import React from "react";

const PinsPage = (props: Readonly<{ isModal: boolean }>) => {
    const {isModal = false} = props;
    const {id} = useParams();

    return (
        <div className={`pt-6 ${isModal?'':'bg-neutral-100'}`}>
            <div className={"w-8/12 min-h-[700px] p-6 rounded-lg bg-white mx-auto pointer-events-auto"}>
                Details-{id}
            </div>
            <div className={"w-full min-h-96 p-6 mt-6 rounded-t-lg bg-white pointer-events-auto"}>
                相关资源列表
            </div>
        </div>
    );
};

export default PinsPage;